package com.mihu.stmall.front.mapper;


import com.mihu.stmall.manager.entiy.GoodsPic;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Service;

import java.util.List;

@Mapper
public interface GoodsPicMapper {
    //根据商品ID查询图片
    @Select("select * from gooda_pic where goods_id=#{goodsId}")
    List<GoodsPic> selectByGoodsId(Integer goodsId);

}
